package cn.deepmax.spring.cloud.system.sale.aop;

import cn.deepmax.spring.cloud.common.web.BindingParamsBaseAspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class BindingParamAspect extends BindingParamsBaseAspect {

    @Pointcut("execution(* cn.deepmax.spring.cloud.system.sale.controller..*.*(..))")
    public void aopMethod(){}

    /**
     * @param joinPoint
     */
    @Around("aopMethod()")
    @Override
    public Object around(ProceedingJoinPoint joinPoint) throws Throwable {
        return around0(joinPoint);
    }
}
